package com.awesome.livedatademo.livedatadatabinding;

import android.util.Log;
import android.view.View;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.awesome.common.util.log.ShowLogUtil;

/**
 * Author: zhangjingfang
 * Email:zhangjingfang@jeejio.com
 * Date: 2022/1/25
 * Description:类描述
 */
public class LoginViewModel extends ViewModel {
    public MutableLiveData<String> userLiveData = new MutableLiveData<String>();

    public void loadUser(String name) {
        userLiveData.postValue(name);
    }
} 
 
 